using System;
using System.CodeDom.Compiler;
using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Runtime.Serialization;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace HKB.Data.Dal
{
	[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), HelpKeyword("vs.data.DataSet"), DesignerCategory("code"), ToolboxItem(true), System.Xml.Serialization.XmlRoot("H_Card"), System.Xml.Serialization.XmlSchemaProvider("GetTypedDataSetSchema")]
	[System.Serializable]
	public class H_Card : DataSet
	{
		public delegate void HL_CardRowChangeEventHandler(object sender, H_Card.HL_CardRowChangeEvent e);
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), System.Xml.Serialization.XmlSchemaProvider("GetTypedTableSchema")]
		[System.Serializable]
		public class HL_CardDataTable : DataTable, System.Collections.IEnumerable
		{
			private DataColumn columnCardID;
			private DataColumn columnCardType;
			private DataColumn columnCardNum;
			private DataColumn columnCardPassword;
			private DataColumn columnCardMoney;
			private DataColumn columnCardValidNum;
			private DataColumn columnCardAgentName;
			private DataColumn columnCardValidUnit;
			private DataColumn columnCardEndDate;
			private DataColumn columnCardState;
			private DataColumn columnCardUserName;
			private DataColumn columnCardCreateTime;
			private DataColumn columnCardUseTime;
			private DataColumn columnCardSellFrom;
			public event H_Card.HL_CardRowChangeEventHandler HL_CardRowChanging;
			public event H_Card.HL_CardRowChangeEventHandler HL_CardRowChanged;
			public event H_Card.HL_CardRowChangeEventHandler HL_CardRowDeleting;
			public event H_Card.HL_CardRowChangeEventHandler HL_CardRowDeleted;
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CardIDColumn
			{
				get
				{
					return this.columnCardID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CardTypeColumn
			{
				get
				{
					return this.columnCardType;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CardNumColumn
			{
				get
				{
					return this.columnCardNum;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CardPasswordColumn
			{
				get
				{
					return this.columnCardPassword;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CardMoneyColumn
			{
				get
				{
					return this.columnCardMoney;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CardValidNumColumn
			{
				get
				{
					return this.columnCardValidNum;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CardAgentNameColumn
			{
				get
				{
					return this.columnCardAgentName;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CardValidUnitColumn
			{
				get
				{
					return this.columnCardValidUnit;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CardEndDateColumn
			{
				get
				{
					return this.columnCardEndDate;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CardStateColumn
			{
				get
				{
					return this.columnCardState;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CardUserNameColumn
			{
				get
				{
					return this.columnCardUserName;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CardCreateTimeColumn
			{
				get
				{
					return this.columnCardCreateTime;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CardUseTimeColumn
			{
				get
				{
					return this.columnCardUseTime;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CardSellFromColumn
			{
				get
				{
					return this.columnCardSellFrom;
				}
			}
			[Browsable(false), System.Diagnostics.DebuggerNonUserCode]
			public int Count
			{
				get
				{
					return base.Rows.Count;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public H_Card.HL_CardRow this[int index]
			{
				get
				{
					return (H_Card.HL_CardRow)base.Rows[index];
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public HL_CardDataTable()
			{
				base.TableName = "HL_Card";
				this.BeginInit();
				this.InitClass();
				this.EndInit();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			internal HL_CardDataTable(DataTable table)
			{
				base.TableName = table.TableName;
				if (table.CaseSensitive != table.DataSet.CaseSensitive)
				{
					base.CaseSensitive = table.CaseSensitive;
				}
				if (table.Locale.ToString() != table.DataSet.Locale.ToString())
				{
					base.Locale = table.Locale;
				}
				if (table.Namespace != table.DataSet.Namespace)
				{
					base.Namespace = table.Namespace;
				}
				base.Prefix = table.Prefix;
				base.MinimumCapacity = table.MinimumCapacity;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected HL_CardDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context)
			{
				this.InitVars();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void AddHL_CardRow(H_Card.HL_CardRow row)
			{
				base.Rows.Add(row);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public H_Card.HL_CardRow AddHL_CardRow(int CardType, string CardNum, string CardPassword, decimal CardMoney, string CardValidNum, string CardAgentName, string CardValidUnit, System.DateTime CardEndDate, int CardState, string CardUserName, System.DateTime CardCreateTime, System.DateTime CardUseTime, string CardSellFrom)
			{
				H_Card.HL_CardRow hL_CardRow = (H_Card.HL_CardRow)base.NewRow();
				hL_CardRow.ItemArray = new object[]
				{
					null,
					CardType,
					CardNum,
					CardPassword,
					CardMoney,
					CardValidNum,
					CardAgentName,
					CardValidUnit,
					CardEndDate,
					CardState,
					CardUserName,
					CardCreateTime,
					CardUseTime,
					CardSellFrom
				};
				base.Rows.Add(hL_CardRow);
				return hL_CardRow;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public H_Card.HL_CardRow FindByCardID(int CardID)
			{
				return (H_Card.HL_CardRow)base.Rows.Find(new object[]
				{
					CardID
				});
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public virtual System.Collections.IEnumerator GetEnumerator()
			{
				return base.Rows.GetEnumerator();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public override DataTable Clone()
			{
				H_Card.HL_CardDataTable hL_CardDataTable = (H_Card.HL_CardDataTable)base.Clone();
				hL_CardDataTable.InitVars();
				return hL_CardDataTable;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override DataTable CreateInstance()
			{
				return new H_Card.HL_CardDataTable();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			internal void InitVars()
			{
				this.columnCardID = base.Columns["CardID"];
				this.columnCardType = base.Columns["CardType"];
				this.columnCardNum = base.Columns["CardNum"];
				this.columnCardPassword = base.Columns["CardPassword"];
				this.columnCardMoney = base.Columns["CardMoney"];
				this.columnCardValidNum = base.Columns["CardValidNum"];
				this.columnCardAgentName = base.Columns["CardAgentName"];
				this.columnCardValidUnit = base.Columns["CardValidUnit"];
				this.columnCardEndDate = base.Columns["CardEndDate"];
				this.columnCardState = base.Columns["CardState"];
				this.columnCardUserName = base.Columns["CardUserName"];
				this.columnCardCreateTime = base.Columns["CardCreateTime"];
				this.columnCardUseTime = base.Columns["CardUseTime"];
				this.columnCardSellFrom = base.Columns["CardSellFrom"];
			}
			[System.Diagnostics.DebuggerNonUserCode]
			private void InitClass()
			{
				this.columnCardID = new DataColumn("CardID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnCardID);
				this.columnCardType = new DataColumn("CardType", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnCardType);
				this.columnCardNum = new DataColumn("CardNum", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnCardNum);
				this.columnCardPassword = new DataColumn("CardPassword", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnCardPassword);
				this.columnCardMoney = new DataColumn("CardMoney", typeof(decimal), null, MappingType.Element);
				base.Columns.Add(this.columnCardMoney);
				this.columnCardValidNum = new DataColumn("CardValidNum", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnCardValidNum);
				this.columnCardAgentName = new DataColumn("CardAgentName", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnCardAgentName);
				this.columnCardValidUnit = new DataColumn("CardValidUnit", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnCardValidUnit);
				this.columnCardEndDate = new DataColumn("CardEndDate", typeof(System.DateTime), null, MappingType.Element);
				base.Columns.Add(this.columnCardEndDate);
				this.columnCardState = new DataColumn("CardState", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnCardState);
				this.columnCardUserName = new DataColumn("CardUserName", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnCardUserName);
				this.columnCardCreateTime = new DataColumn("CardCreateTime", typeof(System.DateTime), null, MappingType.Element);
				base.Columns.Add(this.columnCardCreateTime);
				this.columnCardUseTime = new DataColumn("CardUseTime", typeof(System.DateTime), null, MappingType.Element);
				base.Columns.Add(this.columnCardUseTime);
				this.columnCardSellFrom = new DataColumn("CardSellFrom", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnCardSellFrom);
				base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[]
				{
					this.columnCardID
				}, true));
				this.columnCardID.AutoIncrement = true;
				this.columnCardID.AllowDBNull = false;
				this.columnCardID.ReadOnly = true;
				this.columnCardID.Unique = true;
				this.columnCardNum.MaxLength = 50;
				this.columnCardPassword.MaxLength = 50;
				this.columnCardValidNum.MaxLength = 50;
				this.columnCardAgentName.MaxLength = 50;
				this.columnCardValidUnit.MaxLength = 50;
				this.columnCardUserName.MaxLength = 50;
				this.columnCardSellFrom.MaxLength = 50;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public H_Card.HL_CardRow NewHL_CardRow()
			{
				return (H_Card.HL_CardRow)base.NewRow();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
			{
				return new H_Card.HL_CardRow(builder);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override System.Type GetRowType()
			{
				return typeof(H_Card.HL_CardRow);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowChanged(DataRowChangeEventArgs e)
			{
				base.OnRowChanged(e);
				if (this.HL_CardRowChanged != null)
				{
					this.HL_CardRowChanged(this, new H_Card.HL_CardRowChangeEvent((H_Card.HL_CardRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowChanging(DataRowChangeEventArgs e)
			{
				base.OnRowChanging(e);
				if (this.HL_CardRowChanging != null)
				{
					this.HL_CardRowChanging(this, new H_Card.HL_CardRowChangeEvent((H_Card.HL_CardRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowDeleted(DataRowChangeEventArgs e)
			{
				base.OnRowDeleted(e);
				if (this.HL_CardRowDeleted != null)
				{
					this.HL_CardRowDeleted(this, new H_Card.HL_CardRowChangeEvent((H_Card.HL_CardRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowDeleting(DataRowChangeEventArgs e)
			{
				base.OnRowDeleting(e);
				if (this.HL_CardRowDeleting != null)
				{
					this.HL_CardRowDeleting(this, new H_Card.HL_CardRowChangeEvent((H_Card.HL_CardRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void RemoveHL_CardRow(H_Card.HL_CardRow row)
			{
				base.Rows.Remove(row);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs)
			{
				System.Xml.Schema.XmlSchemaComplexType xmlSchemaComplexType = new System.Xml.Schema.XmlSchemaComplexType();
				System.Xml.Schema.XmlSchemaSequence xmlSchemaSequence = new System.Xml.Schema.XmlSchemaSequence();
				H_Card h_Card = new H_Card();
				xs.Add(h_Card.GetSchemaSerializable());
				System.Xml.Schema.XmlSchemaAny xmlSchemaAny = new System.Xml.Schema.XmlSchemaAny();
				xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
				xmlSchemaAny.MinOccurs = 0m;
				xmlSchemaAny.MaxOccurs = 79228162514264337593543950335m;
				xmlSchemaAny.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
				xmlSchemaSequence.Items.Add(xmlSchemaAny);
				System.Xml.Schema.XmlSchemaAny xmlSchemaAny2 = new System.Xml.Schema.XmlSchemaAny();
				xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
				xmlSchemaAny2.MinOccurs = 1m;
				xmlSchemaAny2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
				xmlSchemaSequence.Items.Add(xmlSchemaAny2);
				System.Xml.Schema.XmlSchemaAttribute xmlSchemaAttribute = new System.Xml.Schema.XmlSchemaAttribute();
				xmlSchemaAttribute.Name = "namespace";
				xmlSchemaAttribute.FixedValue = h_Card.Namespace;
				xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
				System.Xml.Schema.XmlSchemaAttribute xmlSchemaAttribute2 = new System.Xml.Schema.XmlSchemaAttribute();
				xmlSchemaAttribute2.Name = "tableTypeName";
				xmlSchemaAttribute2.FixedValue = "HL_CardDataTable";
				xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
				xmlSchemaComplexType.Particle = xmlSchemaSequence;
				return xmlSchemaComplexType;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
		public class HL_CardRow : DataRow
		{
			private H_Card.HL_CardDataTable tableHL_Card;
			[System.Diagnostics.DebuggerNonUserCode]
			public int CardID
			{
				get
				{
					return (int)base[this.tableHL_Card.CardIDColumn];
				}
				set
				{
					base[this.tableHL_Card.CardIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int CardType
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHL_Card.CardTypeColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_Card”中列“CardType”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_Card.CardTypeColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string CardNum
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHL_Card.CardNumColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_Card”中列“CardNum”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_Card.CardNumColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string CardPassword
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHL_Card.CardPasswordColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_Card”中列“CardPassword”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_Card.CardPasswordColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public decimal CardMoney
			{
				get
				{
					decimal result;
					try
					{
						result = (decimal)base[this.tableHL_Card.CardMoneyColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_Card”中列“CardMoney”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_Card.CardMoneyColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string CardValidNum
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHL_Card.CardValidNumColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_Card”中列“CardValidNum”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_Card.CardValidNumColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string CardAgentName
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHL_Card.CardAgentNameColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_Card”中列“CardAgentName”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_Card.CardAgentNameColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string CardValidUnit
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHL_Card.CardValidUnitColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_Card”中列“CardValidUnit”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_Card.CardValidUnitColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public System.DateTime CardEndDate
			{
				get
				{
					System.DateTime result;
					try
					{
						result = (System.DateTime)base[this.tableHL_Card.CardEndDateColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_Card”中列“CardEndDate”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_Card.CardEndDateColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int CardState
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHL_Card.CardStateColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_Card”中列“CardState”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_Card.CardStateColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string CardUserName
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHL_Card.CardUserNameColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_Card”中列“CardUserName”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_Card.CardUserNameColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public System.DateTime CardCreateTime
			{
				get
				{
					System.DateTime result;
					try
					{
						result = (System.DateTime)base[this.tableHL_Card.CardCreateTimeColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_Card”中列“CardCreateTime”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_Card.CardCreateTimeColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public System.DateTime CardUseTime
			{
				get
				{
					System.DateTime result;
					try
					{
						result = (System.DateTime)base[this.tableHL_Card.CardUseTimeColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_Card”中列“CardUseTime”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_Card.CardUseTimeColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string CardSellFrom
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHL_Card.CardSellFromColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_Card”中列“CardSellFrom”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_Card.CardSellFromColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			internal HL_CardRow(DataRowBuilder rb) : base(rb)
			{
				this.tableHL_Card = (H_Card.HL_CardDataTable)base.Table;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCardTypeNull()
			{
				return base.IsNull(this.tableHL_Card.CardTypeColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCardTypeNull()
			{
				base[this.tableHL_Card.CardTypeColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCardNumNull()
			{
				return base.IsNull(this.tableHL_Card.CardNumColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCardNumNull()
			{
				base[this.tableHL_Card.CardNumColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCardPasswordNull()
			{
				return base.IsNull(this.tableHL_Card.CardPasswordColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCardPasswordNull()
			{
				base[this.tableHL_Card.CardPasswordColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCardMoneyNull()
			{
				return base.IsNull(this.tableHL_Card.CardMoneyColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCardMoneyNull()
			{
				base[this.tableHL_Card.CardMoneyColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCardValidNumNull()
			{
				return base.IsNull(this.tableHL_Card.CardValidNumColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCardValidNumNull()
			{
				base[this.tableHL_Card.CardValidNumColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCardAgentNameNull()
			{
				return base.IsNull(this.tableHL_Card.CardAgentNameColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCardAgentNameNull()
			{
				base[this.tableHL_Card.CardAgentNameColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCardValidUnitNull()
			{
				return base.IsNull(this.tableHL_Card.CardValidUnitColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCardValidUnitNull()
			{
				base[this.tableHL_Card.CardValidUnitColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCardEndDateNull()
			{
				return base.IsNull(this.tableHL_Card.CardEndDateColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCardEndDateNull()
			{
				base[this.tableHL_Card.CardEndDateColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCardStateNull()
			{
				return base.IsNull(this.tableHL_Card.CardStateColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCardStateNull()
			{
				base[this.tableHL_Card.CardStateColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCardUserNameNull()
			{
				return base.IsNull(this.tableHL_Card.CardUserNameColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCardUserNameNull()
			{
				base[this.tableHL_Card.CardUserNameColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCardCreateTimeNull()
			{
				return base.IsNull(this.tableHL_Card.CardCreateTimeColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCardCreateTimeNull()
			{
				base[this.tableHL_Card.CardCreateTimeColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCardUseTimeNull()
			{
				return base.IsNull(this.tableHL_Card.CardUseTimeColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCardUseTimeNull()
			{
				base[this.tableHL_Card.CardUseTimeColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCardSellFromNull()
			{
				return base.IsNull(this.tableHL_Card.CardSellFromColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCardSellFromNull()
			{
				base[this.tableHL_Card.CardSellFromColumn] = System.Convert.DBNull;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
		public class HL_CardRowChangeEvent : System.EventArgs
		{
			private H_Card.HL_CardRow eventRow;
			private DataRowAction eventAction;
			[System.Diagnostics.DebuggerNonUserCode]
			public H_Card.HL_CardRow Row
			{
				get
				{
					return this.eventRow;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataRowAction Action
			{
				get
				{
					return this.eventAction;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public HL_CardRowChangeEvent(H_Card.HL_CardRow row, DataRowAction action)
			{
				this.eventRow = row;
				this.eventAction = action;
			}
		}
		private H_Card.HL_CardDataTable tableHL_Card;
		private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
		[Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), System.Diagnostics.DebuggerNonUserCode]
		public H_Card.HL_CardDataTable HL_Card
		{
			get
			{
				return this.tableHL_Card;
			}
		}
		[Browsable(true), DesignerSerializationVisibility(DesignerSerializationVisibility.Visible), System.Diagnostics.DebuggerNonUserCode]
		public override SchemaSerializationMode SchemaSerializationMode
		{
			get
			{
				return this._schemaSerializationMode;
			}
			set
			{
				this._schemaSerializationMode = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), System.Diagnostics.DebuggerNonUserCode]
		public new DataTableCollection Tables
		{
			get
			{
				return base.Tables;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), System.Diagnostics.DebuggerNonUserCode]
		public new DataRelationCollection Relations
		{
			get
			{
				return base.Relations;
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public H_Card()
		{
			base.BeginInit();
			this.InitClass();
			CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
			base.Tables.CollectionChanged += value;
			base.Relations.CollectionChanged += value;
			base.EndInit();
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected H_Card(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context, false)
		{
			if (base.IsBinarySerialized(info, context))
			{
				this.InitVars(false);
				CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
				this.Tables.CollectionChanged += value;
				this.Relations.CollectionChanged += value;
			}
			else
			{
				string s = (string)info.GetValue("XmlSchema", typeof(string));
				if (base.DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
				{
					DataSet dataSet = new DataSet();
					dataSet.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(s)));
					if (dataSet.Tables["HL_Card"] != null)
					{
						base.Tables.Add(new H_Card.HL_CardDataTable(dataSet.Tables["HL_Card"]));
					}
					base.DataSetName = dataSet.DataSetName;
					base.Prefix = dataSet.Prefix;
					base.Namespace = dataSet.Namespace;
					base.Locale = dataSet.Locale;
					base.CaseSensitive = dataSet.CaseSensitive;
					base.EnforceConstraints = dataSet.EnforceConstraints;
					base.Merge(dataSet, false, MissingSchemaAction.Add);
					this.InitVars();
				}
				else
				{
					base.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(s)));
				}
				base.GetSerializationData(info, context);
				CollectionChangeEventHandler value2 = new CollectionChangeEventHandler(this.SchemaChanged);
				base.Tables.CollectionChanged += value2;
				this.Relations.CollectionChanged += value2;
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override void InitializeDerivedDataSet()
		{
			base.BeginInit();
			this.InitClass();
			base.EndInit();
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public override DataSet Clone()
		{
			H_Card h_Card = (H_Card)base.Clone();
			h_Card.InitVars();
			h_Card.SchemaSerializationMode = this.SchemaSerializationMode;
			return h_Card;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override bool ShouldSerializeTables()
		{
			return false;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override bool ShouldSerializeRelations()
		{
			return false;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override void ReadXmlSerializable(System.Xml.XmlReader reader)
		{
			if (base.DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
			{
				this.Reset();
				DataSet dataSet = new DataSet();
				dataSet.ReadXml(reader);
				if (dataSet.Tables["HL_Card"] != null)
				{
					base.Tables.Add(new H_Card.HL_CardDataTable(dataSet.Tables["HL_Card"]));
				}
				base.DataSetName = dataSet.DataSetName;
				base.Prefix = dataSet.Prefix;
				base.Namespace = dataSet.Namespace;
				base.Locale = dataSet.Locale;
				base.CaseSensitive = dataSet.CaseSensitive;
				base.EnforceConstraints = dataSet.EnforceConstraints;
				base.Merge(dataSet, false, MissingSchemaAction.Add);
				this.InitVars();
			}
			else
			{
				base.ReadXml(reader);
				this.InitVars();
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override System.Xml.Schema.XmlSchema GetSchemaSerializable()
		{
			System.IO.MemoryStream memoryStream = new System.IO.MemoryStream();
			base.WriteXmlSchema(new System.Xml.XmlTextWriter(memoryStream, null));
			memoryStream.Position = 0L;
			return System.Xml.Schema.XmlSchema.Read(new System.Xml.XmlTextReader(memoryStream), null);
		}
		[System.Diagnostics.DebuggerNonUserCode]
		internal void InitVars()
		{
			this.InitVars(true);
		}
		[System.Diagnostics.DebuggerNonUserCode]
		internal void InitVars(bool initTable)
		{
			this.tableHL_Card = (H_Card.HL_CardDataTable)base.Tables["HL_Card"];
			if (initTable)
			{
				if (this.tableHL_Card != null)
				{
					this.tableHL_Card.InitVars();
				}
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private void InitClass()
		{
			base.DataSetName = "H_Card";
			base.Prefix = "";
			base.Namespace = "http://tempuri.org/H_Card.xsd";
			base.EnforceConstraints = true;
			this.SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
			this.tableHL_Card = new H_Card.HL_CardDataTable();
			base.Tables.Add(this.tableHL_Card);
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private bool ShouldSerializeHL_Card()
		{
			return false;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private void SchemaChanged(object sender, CollectionChangeEventArgs e)
		{
			if (e.Action == CollectionChangeAction.Remove)
			{
				this.InitVars();
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs)
		{
			H_Card h_Card = new H_Card();
			System.Xml.Schema.XmlSchemaComplexType xmlSchemaComplexType = new System.Xml.Schema.XmlSchemaComplexType();
			System.Xml.Schema.XmlSchemaSequence xmlSchemaSequence = new System.Xml.Schema.XmlSchemaSequence();
			xs.Add(h_Card.GetSchemaSerializable());
			System.Xml.Schema.XmlSchemaAny xmlSchemaAny = new System.Xml.Schema.XmlSchemaAny();
			xmlSchemaAny.Namespace = h_Card.Namespace;
			xmlSchemaSequence.Items.Add(xmlSchemaAny);
			xmlSchemaComplexType.Particle = xmlSchemaSequence;
			return xmlSchemaComplexType;
		}
	}
}
